package com.example.studentop.domain;

import com.orm.SugarRecord;
import com.orm.dsl.Column;
import com.orm.dsl.Table;
import com.orm.dsl.Unique;

@Table(name="Student")
public class Student extends SugarRecord {
    @Unique
         @Column(name = "name")
        String name;
    @Column(name = "num")
        String num;
    @Column(name = "sex")
        String sex;

        public Student(String 李强, String s, int i, String 男){}

        public Student(String name, String num, String sex){
            this.name = name;
            this.num = num;
            this.sex = sex;
        }

        public String getName() {
            return name;
        }

    public void setNum(String num) {
        this.num = num;
    }

    public String getSex() {
            return sex;
        }
    }

